package com.oig.sys.base.dao;

import com.oig.sys.base.entity.TbPort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
@author wuxl
*/
public interface ITbPortDao extends JpaRepository<TbPort, String>, JpaSpecificationExecutor<TbPort> {

	TbPort getByCode(String code);

	TbPort getByName(String name);

	TbPort getByOldCode(String oldCode);

}
